<?php if($sub == 'invite'){?>
<div class="user_con_tab">
          <ul>
          <li <?php if($user_tab == 'customers'){?>class="current7"<?php }?>><a href="/user/customers.html">我的客户</a></li>
	    <li <?php if($user_tab == 'ctender'){?>class="current7"<?php }?>><a href="/user/ctender.html">今日投资</a></li>
	    <li <?php if($user_tab == 'customers_invest'){?>class="current7"<?php }?>><a href="/user/customers_invest.html">投资统计</a></li>
	    <li <?php if($user_tab == 'customers_stat'){?>class="current7"<?php }?>><a href="/user/customers_stat.html">代收排</a></li>
          </ul>                                
</div>
<?php }elseif($sub == 'account'){?>
<div class="user_con_tab">
          <ul>
          <li <?php if($user_tab == 'account_info'){?>class="current7"<?php }?>><a href="/account/info.html">账户详情</a></li>
	    <li <?php if($user_tab == 'account_bank'){?>class="current7"<?php }?>><a href="/account/bank.html">银行账号</a></li>
	    <li <?php if($user_tab == 'account_recharge'){?>class="current7"<?php }?>><a href="/account/recharge.html">账户充值</a></li>
	    <li <?php if($user_tab == 'account_recharge_log'){?>class="current7"<?php }?>><a href="/account/recharge_log.html">充值记录</a></li>
	    <li <?php if($user_tab == 'account_cash'){?>class="current7"<?php }?>><a href="/account/cash.html">账户提现</a></li>
	    <li <?php if($user_tab == 'account_cashed'){?>class="current7"<?php }?>><a href="/account/cashed.html">提现记录</a></li>
	    <li <?php if($user_tab == 'account_detail'){?>class="current7"<?php }?>><a href="/account/details.html">资金明细</a></li>
          </ul>
</div>
<?php }?>
<?php if($sub == 'tender'){if($user_sub == 'success'){?>
<div class="user_con_tab">
          <ul>
        	 <li <?php if($user_tab == 'tender_success'){?>class="current7"<?php }?> ><a href="/userborrow/success.html">已投资的借款</a></li>
			<li <?php if($user_tab == 'tender_now'){?>class="current7"<?php }?>><a href="/userborrow/now.html">正在投标的借款</a></li>
			<li <?php if($user_tab == 'tender_coll'){?>class="current7"<?php }?>><a href="/userborrow/coll.html">未收款明细</a></li>
			<li <?php if($user_tab == 'tender_ycoll'){?>class="current7"<?php }?>><a href="/userborrow/ycoll.html">已收款明细</a></li>
          </ul>
</div>
<?php }elseif($user_sub == 'yjb'){?>	
<div class="user_con_tab">
          <ul>
          	<li <?php if($user_tab == 'yjb_success'){?>class="current7"<?php }?>><a href="/userborrow/yjb.html">已投资的易居宝</a></li>
			<li <?php if($user_tab == 'yjb_coll'){?>class="current7"<?php }?>><a href="/userborrow/yjb.html?state=1">待回收的易居宝</a></li>
			<li <?php if($user_tab == 'yjb_ycoll'){?>class="current7"<?php }?>><a href="/userborrow/yjb.html?state=3">已回收的易居宝</a></li>
          </ul>
</div>
<?php }elseif($user_sub == 'transferlog'){?>	
<div class="user_con_tab">
          <ul>
	          <li <?php if($user_tab == 'mytran'){?>class="current7"<?php }?>><a href="/userborrow/transferlog.html">我购买的债权</a></li>
			<li <?php if($user_tab == 'mycredit'){?>class="current7"<?php }?>><a href="/userborrow/mycreditor.html">我发布的债权</a></li>
			<li <?php if($user_tab == 'transfer'){?>class="current7"<?php }?>><a href="/userborrow/transfer.html">可转让的债权</a></li>
			<li <?php if($user_tab == 'ctlog'){?>class="current7"<?php }?>><a href="/userborrow/ctlog.html">债权待收明细</a></li>
          </ul>
</div>
<?php }else{?>
<div class="user_con_tab" style="border-top: 2px solid #c62721;border-bottom: 1px solid #d1d1d1;height: 46px;line-height: 46px;">
          <ul>
        	<li <?php if($user_tab == 'borrowauto_alist'){?>class="current7"<?php }?>  style=" border-right: 1px solid #d1d1d1;float: left;padding:0 5px;" ><a href="/borrowauto/alist.html">自动投标列表</a></li>
        	<?php if($user_tab == 'borrowauto_edit'){?>
        	<li <?php if($user_tab == 'borrowauto_edit'){?>class="current7"<?php }?>  style=" border-right: 1px solid #d1d1d1;float: left;padding:0 5px;"><a href="/borrowauto/edit_view/<?php echo $borrow_auto_obj['id'];?>.html">编辑自动投标</a></li>
        	<?php }else{?>
        	<li <?php if($user_tab == 'borrowauto_add'){?>class="current7"<?php }?> style=" border-right: 1px solid #d1d1d1;float: left;padding:0 5px;" ><a href="/borrowauto/add_view.html">添加自动投标</a></li>
			<?php }?>
          </ul>
</div>
<?php }}?>


<?php if($sub == 'borrow'){?>
<div class="user_con_tab">
          <ul>
        	<li <?php if($user_tab == 'borrow_publish'){?>class="current7"<?php }?> ><a href="/userborrow/publish.html">正在招标的借款</a></li>
			<li <?php if($user_tab == 'borrow_unpublish'){?>class="current7"<?php }?>  ><a href="/userborrow/unpublish.html">尚未发布的借款</a></li>
			<li <?php if($user_tab == 'borrow_repayment'){?>class="current7"<?php }?> ><a href="/userborrow/repayment.html">正在还款的借款</a></li>
			<li <?php if($user_tab == 'borrow_over'){?>class="current7"<?php }?> ><a href="/userborrow/over.html">已还完的借款</a></li>
          </ul>
</div>
<?php }?>

<?php if($sub == 'user'){ if($user_sub == 'safe' || $user_sub == 'privacy'){?>
	
<div class="user_con_tab">
          <ul>
        	 <li <?php if($user_tab == 'user_realname'){?>class="current7"<?php }?>><a href="/user/realname.html">实名认证</a></li>
		    <li <?php if($user_tab == 'user_email'){?>class="current7"<?php }?>><a href="/user/email.html">邮箱认证</a></li>
		    <li <?php if($user_tab == 'user_phone'){?>class="current7"<?php }?>><a href="/user/phone.html">手机认证</a></li>
		    <li <?php if($user_tab == 'user_vip'){?>class="current7"<?php }?>><a href="/user/vip.html">VIP认证</a></li>
		    <li <?php if($user_tab == 'user_photo'){?>class="current7"<?php }?>><a href="/user/photo.html">头像信息</a></li>
		    <li <?php if($user_tab == 'user_privacy'){?>class="current7"<?php }?>><a href="/user/privacy.html">隐私设置</a></li>
          </ul>
</div>
<?php }else if($user_sub == 'pwd'){?>
    <div class="user_con_tab">
          <ul>
        	 <li <?php if($user_tab == 'user_pwd'){?>class="current7"<?php }?>><a href="/user/pwd.html">登录密码</a></li>
		    <li <?php if($user_tab == 'user_paypwd'){?>class="current7"<?php }?>><a href="/user/paypwd.html">交易密码</a></li>
          </ul>
</div>
<?php }else{?>
<div class="user_con_tab">
          <ul>
        	 <li <?php if($user_tab == 'userinfo_peason'){?>class="current7"<?php }?>><a href="/user/info/index.html">个人基本信息</a></li>
		    <li <?php if($user_tab == 'userinfo_contact'){?>class="current7"<?php }?>><a href="/user/info/contact.html">个人详细信息</a></li>
		    <li <?php if($user_tab == 'userinfo_company'){?>class="current7"<?php }?>><a href="/user/info/company.html">工作认证信息</a></li>
		    <li <?php if($user_tab == 'userinfo_qiye'){?>class="current7"<?php }?>><a href="/user/info/qiye.html">企业认证信息</a></li>
          </ul>
</div>
<?php }}?>

